package com.gzx.plugin.tjzy.feign.htCallRecord.controller;

import com.gzx.plugin.tjzy.modular.call.ht.entity.bo.GzxHtCallRerordBo;
import com.gzx.plugin.tjzy.feign.htCallRecord.service.GzxHtCallRecordFeignService;
import com.gzx.tjzy.feign.resp.GzxHtCallRecordDto;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @author
 * @description
 * @date
 */
@RequiredArgsConstructor
@RestController
@RequestMapping("/feign/tjzy/ht")
public class GzxHtCallRecordFeignController {

    private final GzxHtCallRecordFeignService gzxHtCallRecordFeignService;

    @RequestMapping("/getYcCallRecord")
    public List<GzxHtCallRecordDto> getYcCallRecord(@RequestBody GzxHtCallRerordBo bo) {
        return gzxHtCallRecordFeignService.getYcHtCallRecord(bo);
    }

    @RequestMapping("/getHtRecordInfo")
    public List<GzxHtCallRecordDto> getHtRecordInfo(@RequestBody List<String> callIds) {
        return gzxHtCallRecordFeignService.getHtRecordInfo(callIds);
    }



}
